(function(){
	var app = angular.module("zdw",[]);
	
	/* */
	app.controller("tablepageCtrl",function($scope){
		$scope.alist = alist;
	});
	
	
	/* */
	app.controller("aCtrl",function($scope){
		$scope.alist = alist;
	});
	var alist = [
		{title:'琴师不弹琴',href:'#'},
		{title:'我王今',href:'#'},
		{title:'我是琴',href:'#'},
		{title:'失人口',href:'#'},
		{title:'喝',href:'#'},
		{title:'琴师不弹琴',href:'#'},
		{title:'喝',href:'#'},
		{title:'琴弹琴',href:'#'},
		{title:'我是王今',href:'#'},
		{title:'我是琴',href:'#'},
		{title:'失人啊啊啊啊口',href:'#'},
		{title:'喝',href:'#'},
		{title:'琴师不弹琴',href:'#'},
		{title:'喝啊',href:'#'},
		{title:'琴师不弹琴',href:'#'},
		{title:'我是啊王今',href:'#'},
		{title:'我是琴',href:'#'},
		{title:'失人口',href:'#'},
		{title:'喝啊啊',href:'#'},
		{title:'琴弹琴',href:'#'},
		{title:'喝',href:'#'},
		{title:'琴师不弹琴',href:'#'},
		{title:'我是王今',href:'#'},
		{title:'我是啊啊琴',href:'#'},
		{title:'失人口',href:'#'},
		{title:'喝',href:'#'},
		{title:'琴师不弹琴',href:'#'},
		{title:'喝啊',href:'#'},
		{title:'我是啊啊琴',href:'#'},
		{title:'失人口',href:'#'},
		{title:'喝',href:'#'},
		{title:'琴师不弹琴',href:'#'},
		{title:'喝啊',href:'#'}
	];
	
	/*tab*/
	app.controller("tableCtrl",function($scope){
		$scope.tabMap = tabMap;
		$scope.table = 1;
		$scope.setTable =function(data){
			$scope.table = data;
		}
		$scope.isSelectTab = function(data){
			return $scope.table === data;
			
		}
	});
	var tabMap = [
//		{
//			header:'近十日舆情',
//			href:'#',
//			alink:[
//				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
//				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
//				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
//				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
//				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
//				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
//				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
//				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
//				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
//				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'}]
//		},
		{
			header:'近期舆情',
			href:'#',
			table:'1',
			alink:[
				{title:'我是很严肃的1',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'}]
		},
		{
			header:'负面舆情',
			href:'#',
			table:'2',
			alink:[
				{title:'我是很严肃的2',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'}]
		},
		{
			header:'热门微博',
			href:'#',
			table:'3',
			alink:[
				{title:'我是很严肃的3',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'}]
		},
		{
			header:'热门微信',
			href:'#',
			table:'4',
			alink:[
				{title:'我是很严肃的4',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'},
				{title:'我是很严肃的',from:'1',date:'03-21',href:'#'}]	
		}
	];

	/**/
	app.controller("menuCtrl",function($scope){
		$scope.menulist = menulist;
	});
	var menulist = [
		{
			menuTitle:'测　　试',
			href:'#',
			menuList:[
			]
		},
		{
			menuTitle:'概　　况',
			href:'#',
			menuList:[
				{title:'舆情概况',href:'#'},
			]
		},
		{
			menuTitle:'内容分析',
			href:'#',
			menuList:[
				{title:'主题分析',href:'#'},
				{title:'选择分析',href:'#'},
				{title:'核心词分析',href:'#'},
				{title:'核心词分析',href:'#'},
				{title:'搜索词分析',href:'#'},
				{title:'热刺分析',href:'#'},
				{title:'主题跟踪分析',href:'#'},
				{title:'主题传播分析',href:'#'},
			]
		},
		{
			menuTitle:'情报分析',
			href:'#',
			menuList:[
				{title:'情报概况',href:'#'},
				{title:'推送量汇总',href:'#'},
				{title:'属性汇总',href:'#'},
				{title:'推送量趋势分析',href:'#'},
				{title:'推送量比例分析',href:'#'},
			]
		},
		{
			menuTitle:'网站分析',
			href:'#',
			menuList:[
				{title:'情报概况',href:'#'},
				{title:'推送量汇总',href:'#'},
				{title:'属性汇总',href:'#'},
				{title:'推送量趋势分析',href:'#'},
				{title:'推送量比例分析',href:'#'},
			]
		},
		{
			menuTitle:'情报分析',
			href:'#',
			menuList:[
				{title:'情报概况',href:'#'},
				{title:'推送量汇总',href:'#'},
				{title:'属性汇总',href:'#'},
				{title:'推送量趋势分析',href:'#'},
				{title:'推送量比例分析',href:'#'},
			]
		},
	];
	
	app.controller("",function($scope){
		
	});
	
})();



